package com.zxl.study;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @auther zxl
 * @create 2024-01-24 17:11
 * 构建微服务2级缓存设计：caffeine - redis - boot
 */
@SpringBootApplication
@MapperScan("com.zxl.study.mapper")
public class MainCache2433 implements ApplicationRunner, CommandLineRunner {
    public static void main(String[] args) {
        System.out.println("--------main方法中run方法前1");
        SpringApplication.run(MainCache2433.class, args);
        System.out.println("------main方法中run方法后1");
    }

    @Override
    public void run(ApplicationArguments args) throws Exception {

    }

    @Override
    public void run(String... args) throws Exception {

    }
}